﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BillWeeklyDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Reconciliations.BillWeeklyDetail" %>

<%@ Import Namespace="ZLCMS.Business.Util" %>
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
onsubmit="return validateCallback(this, dialogAjaxDone);" action="/SystemManage/Basics/Shop/Reconciliations/BillWeeklyDetail.aspx">
<!-- 需保存的全局变量 -->
<asp:label runat="server" id="_billNo" visible="False"></asp:label>
<asp:label runat="server" id="_deptCode" visible="False"></asp:label>
<div class="pageContent">
    <div class="pageFormContent" layouth="56">
  
        <dl class="nowrap">
            <dt>账单时间：</dt>
            <dd>
                <%=string.Format("{0:yyyy-MM-dd}", Data.BeginDate)%>&nbsp;&nbsp;至&nbsp;&nbsp;<%=string.Format("{0:yyyy-MM-dd}",Data.EndDate) %></dd>
        </dl>
        <dl class="nowrap">
            <dt>商家名称：</dt>
            <dd>
                <%= ParamKit.GetValue("SysDepartmentInfo", Data.DeptCode, "--")%>(<%=Data.DeptCode%>)</dd>
        </dl>
        <dl>
            <dt>商城销售：</dt>
            <dd>
                <%=Data.SaleFee%></dd>
        </dl>
        <dl>
            <dt>结算销售：</dt>
            <dd>
                <%=Data.FinalSaleFee%></dd>
        </dl>
        <dl>
            <dt>商城取消：</dt>
            <dd>
                <%=Data.CancelFee%></dd>
        </dl>
          <dl>
                <dt>结算取消：</dt>
                <dd>
                    <%=Data.FinalCancelFee%></dd>
            </dl>
            <dl>
                <dt>商城退款：</dt>
                <dd>
                    <%=Data.RefundFee%></dd>
            </dl>
        <dl>
            <dt>结算退款：</dt>
            <dd>
                <%=Data.FinalRefundFee%></dd>
        </dl>
        <dl>
            <dt>总金额：</dt>
            <dd>
                <%=Data.TotalFee%></dd>
        </dl>

          <dl>
            <dt>结算金额：</dt>
            <dd>
                <%=Data.FinalTotalFee%></dd>
        </dl>
         <dl class="nowrap">
            <dt>补差价：</dt>
            <dd>
               
                <%if (ChangeStatusRight && Data.Status!="9")
                  {%>
                <asp:textbox runat="server" class="required number" id="tb_fillFee">0</asp:textbox>&nbsp;元&nbsp;
                <%}
                  else
                  {%>
                 <%=Data.FillFee%>
                 <%} %>
            </dd>
        </dl>
         <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd>说明：为正，则为支付供应商费用；为负，则为扣取供应商费用
            </dd>
        </dl>
   
         <dl>
            <dt>应付金额：</dt>
            <dd>
                <%=Data.NeedPayFee%></dd>
        </dl>
         <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd>说明：应付金额 = 结算金额 + 补差价
            </dd>
        </dl>
        <dl>
            <dt>已支付金额：</dt>
            <dd>
                <%=Data.PaidFee%></dd>
        </dl>
        <%if(AllRight){ %>
            <dl>
            <dt>盈利：</dt>
            <dd>
                <%=Data.IncomeFee%></dd>
        </dl>
        <%} %>
        <dl class="nowrap">
            <dt>状态：</dt>
            <dd>
                <asp:dropdownlist runat="server" id="status" cond="status">
                <asp:ListItem  value="0">未处理</asp:ListItem>
                <asp:ListItem  value="1">处理中</asp:ListItem>
                <asp:ListItem  value="9">已完成</asp:ListItem>
            </asp:dropdownlist>
            </dd>
        </dl>
       
    </div>
  
    <div class="formBar">
        <ul>
               <%if (ChangeStatusRight && Data.Status != "9")
                 {%>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <%} %>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
</div>
</form>
